Other useful features in the Console API are stack traces, object inspection, and string formatting. ConsoleAPI内其他有用的特性还有堆栈跟踪、对象检查和字符串格式化。
The Debug view ( not to be confused with the Debug perspective) shows the call stack, the Variables view shows the current state of the program's variables, and the Console view shows the program. Debug视图(不要与Debug透视图混淆)展示了调用栈(callstack),Variables视图展示了程序变量的当前状态,而Console视图则展示了程序。
If any errors occurred, a stack trace is displayed in the Console window and the lines within the stack trace are hyperlinks to the Python source code. 如果有错误出现,Console窗口中将显示堆栈跟踪信息,其中的每一行都可以通过超链接找到Python源代码。